package abstract_test;

public class Operation extends Calculate{

    @Override
    public int Max(int a, int b, int c) {
        int max = a;
        if (b > max){
            max = b;
        }
        if (c > max){
            max = c;
        }
        return max;
    }

    @Override
    public int Min(int a, int b, int c) {
        int min = a;
        if (b < min){
            min = b;
        }
        if (c < min){
            min = b;
        }
        return min;
    }

}
